
.middle > div {
    border: 1px solid rebeccapurple;
}

/*------------------------------*/
.area {
    border-top: 1px solid rebeccapurple;
    padding: 10px;
    overflow: hidden;
}

.area > div:nth-child(1) > div {
    margin: 15px 0;
    line-height: 30px;
    font-family: 仿宋;
    text-indent: 3em;

}

/*-------------------------------------------*/
.area > div:nth-child(2) {
    display: flex;
    overflow: hidden;
    /*命名动画*/
    animation-name: mylove;
    /*做完动画需要的时间*/
    animation-duration: 5s;
    /*速率曲线*/
    animation-timing-function: linear;
    /*延迟*/
    /*animation-delay: 2s;*/
    /*执行的次数*/
    animation-iteration-count: infinite;
    /*反向*/
    animation-direction: alternate;
}

@keyframes mylove {
    0% {
        margin-left: 0
    }
    25% {
        margin-left: -200px
    }
    50% {
        margin-left: -300px
    }
    75% {
        margin-left: -400px
    }
    100% {
        margin-left: 0
    }
}

.area > div:nth-child(2) > div {
    margin: 15px;
    text-align: center;
}

.area > div:nth-child(2) > div > div:nth-child(1) {
    width: 140px;
    height: 140px;
}

.area > div:nth-child(2) > div > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}